package com.coderfans.serializetest;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ${fanchunshuai} on 2016-8-10.
 *
 * @version: V1.0
 * @Desc:
 * @Copyright (c) 2016 58到家-版权所有
 */
public class Person implements Serializable{
    private long id;
    private String name;
    private String password;
    private List<String> ab;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public List<String> getAb() {
        return ab;
    }

    public void setAb(List<String> ab) {
        this.ab = ab;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", ab=" + ab +
                '}';
    }
}
